namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PLAN_PURCHASE_DEMAND")]
    public partial class PLAN_PURCHASE_DEMAND
    {
        [Key]
        [StringLength(40)]
        public string PURCHASEDEMAND_ID { get; set; }

        [StringLength(40)]
        public string PURCHASE_ID { get; set; }

        [StringLength(40)]
        public string CREW_ID { get; set; }

        public decimal? POWER_STANDARD { get; set; }

        public decimal? HEATING_STANDARD { get; set; }

        public decimal? COAL_POWER_PLAN { get; set; }

        public decimal? COAL_HEAT_PLAN { get; set; }

        public decimal? COAL_SUM { get; set; }

        public virtual PLAN_PURCHASE PLAN_PURCHASE { get; set; }

        public virtual PUB_CREW PUB_CREW { get; set; }
    }
}
